package com.maxh.mapper;

import com.maxh.pojo.Attribute;

import java.util.List;
import java.util.Map;

public interface AttributeMapper {
    /*获取课程属性信息*/
    List<Map<String,Object>> attributeList();

    /*添加课程属性*/
    boolean addAttribute(Map<String, Object> map);

    //修改课程属性
    boolean updateAttribute(Map<String, Object> map);

    Attribute findAttributeName(String attributeName);

    List<Map<String,Object>> findAttributeAll();

}
